x86/emul: Replace opencoded extraction of IOPL from eflags
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 6 Jan 2017 20:03:08 +0000 (20:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Jan 2017 17:25:09 +0000 (17:25 +0000)
commite83ff50a55fd2349886860cf0f23f597605943d7
tree9767b790621246e563d2c7a438c08fcce0fdf0b7
parent9d81162fd2c69b5c9279670c8739d891cf7571da
x86/emul: Replace opencoded extraction of IOPL from eflags

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c